/*
    3. Write a program in C to convert a time_t object to a textual representation. 

    Expected Output :

    Thu Aug 03 13:44:49 2017
*/

#include <stdio.h>
#include <time.h>

int main(void)
{
    time_t rawtime;
    time(&rawtime);
    printf("%s", ctime(&rawtime));

    return 0;
}